package net.ithe.mall_gjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author G1377
 * 实体类
 * 使用lambok的 Data可以不用写get和set等操作
 */

@Data
@TableName("wn_manager")
public class Manager {
    @TableId(type = IdType.AUTO)//主键由数据库自动维护
    private int id;
    @TableField("account")
    private String account;
    @TableField("password")
    private String password;
    private LocalDateTime lastLoginTime;
    private String lastLoginIp;
    @TableField("status")
    private String status;


}
